package com.huichaoliu.netUtils;

public class UrlUtils4Stl {
	/** 后面半截 */
	private static String act = ".action";
	public final static String BASE = "http://211.149.205.68:8080/huichaoliu/service/action/";

	/**
	 * 指定Action的前半截,获取地址(不包括点)
	 * 
	 * @param action
	 * @return
	 */
	public static String getURL(String action) {
		return BASE + action + act;
	}

	/**
	 * 完整Action,获取地址
	 * 
	 * @param action
	 * @return
	 */
	public static String getURL_s(String action) {
		return BASE + action;
	}
}
